package demo.spring.batis.mapper;

import java.util.List;
import demo.spring.batis.model.UserModel;

/**
 * Created by Qian on 2017/3/10.
 */
public interface DemoMapper {
    void add(UserModel userModel);

    void delete(String name);

    void update(UserModel userModel);

    List<UserModel> getAll();

    List<UserModel> select(String name);
}
